package net.mapper;


import net.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @Author admin
 * @Date 2019/5/23 8:13
 */
public interface UserMapper {
    User Login(User user);

    int regist(User user);

    int checkUserName(@Param(value = "username") String username);

    User findById(Integer uid);

    int updatePassword(User user);
}
